package no.cicero.testframework.common.xml;

import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;

public interface IXmlImporterDelegate {

    public void handleStartElement(XmlImporter importer, XmlTag tag) throws SAXException;
    public void handleEndElement(XmlImporter importer, XmlTag tag) throws SAXException;
    public void handleText(XmlImporter importer, XmlTag tag, String text) throws SAXException;

    //----interface org.xml.sax.ErrorHandler
    public void handleWarning(XmlImporter importer, XmlTag tag, SAXParseException ex) throws SAXException;
    public void handleError(XmlImporter importer, XmlTag tag, SAXParseException ex) throws SAXException;
    public void handleFatalError(XmlImporter importer, XmlTag tag, SAXParseException ex) throws SAXException;
}
